#include "receivefile.h"
#include "receivefilethread.h"

ReceiveFile::ReceiveFile(const char *fileName, int transferId):
		m_TransferId(transferId)
{
	m_FileName = QString::fromUtf8(fileName);
	m_Thread = new ReceiveFileThread(m_FileName, transferId);
}


void ReceiveFile::doCommand()
{
	m_Thread->start();
}

ReceiveFile::~ReceiveFile()
{
}
